use "/Users/christopherwitko/Dropbox/Chrisdocuments/data/deindustrialization/USnational/BJPSrandr/Witkofinancializationdata.dta"


***to generate FIRE mobilization variable :***

***ABAppolperc=percentage of items in ABA journal focused on politics, FIREhearings= number of congressional hearings with a representative of bank or insurance industry testifying (see main article for details)***

****(arima ABApolperc FIREhearings, ar(1 2 3)*****

****predict FIREmob, res********


***variables for main results (for detailed explanations see article): fireperc=percentage of GDP from FIRE sector; demcont=democratic control variable; uniondense=union density, FIREmob= FIRE political mobilization; realnfpgro = real non-financial corporate profits growth rate; inflation = inflation rate; options = stock options; fedfrvol = federal funds rate volatility; dereg = deregulation; profvotegap= gap in Dem Pres. candidate support between professionals and non-professionals******* 


***table 1, model 1****

reg d.fireperc l.fireperc d.demcont l.demcont d.uniondense l.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options

**table 1, model 2******

 reg d.fireperc l.fireperc d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options d.dereg l.dereg d.fedfrvol l.fedfrvol

**table 1, model 3*****

reg d.fireperc l.fireperc d.demcont l.demcont d.uniondense l.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options d.dereg l.dereg d.fedfrvol l.fedfrvol

***table 2, model 1*****
reg d.fireperc l.fireperc d.demcont c.l.demcont##c.l.profvotegap d.profvotegap l.uniondense d.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options 

***table 2, model 2******

reg d.fireperc l.fireperc d.demcont c.l.demcont##c.l.uniondense d.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options 




***model of how political variables influence deregulation****

 glm d.dereg l.dereg demcont uniondense  inflation realnfpgro FIREmob, family(binomial) link(logit) vce(hac ga)
